﻿using WMSUIMVC.Aubit;

namespace WMSUIMVC.DTO.Allocate
{
    public class AddAllocateDto:BaseDTO
    {
        /// <summary>
        /// 调拨id
        /// </summary>
        public int AllocateId { get; set; }
        /// <summary>
        /// 调拨单号
        /// </summary>
        public string? AllocateCode { get; set; }
        /// <summary>
        /// 调拨仓库
        /// </summary>
        public int? AllocateStore { get; set; }
        /// <summary>
        /// 关联订单号
        /// </summary>
        public string? MorderNumber { get; set; }
        /// <summary>
        /// 制单人
        /// </summary>
        public string? MakePerson { get; set; }
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime? MarkTime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? ARremark { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int? AllocateState { get; set; }
        /// <summary>
        /// 是否调拨
        /// </summary>
        public bool? IsAllocate { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int? user_id { get; set; }
        public List<AllProduct> AllProducs { get; set; }
        /// <summary>
        ///审核原因
        /// </summary>
        public string? ReasonReview { get; set; }
        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? UpdName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdTime { get; set; } = DateTime.Now;

    }
    /// <summary>
    /// 调拨产品表
    /// </summary>
    public class AllProduct
    {
        /// <summary>
        /// 调拨产品id
        /// </summary>
        public int AllProductId { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int ProductsID { get; set; }
        /// <summary>
        /// 调拨id
        /// </summary>
        public int? AllocateCode { get; set; }
        /// <summary>
        /// 调拨数量
        /// </summary>
        public int? AllProductNum { get; set; }
        /// <summary>
        /// 调拨库位
        /// </summary>
        public int? StorehouseId { get; set; }
        /// <summary>
        /// 公司id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户id
        /// </summary>
        public int? user_id { get; set; }

    }



}
